﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>框架页</title>
    <link href="css/frame.css" rel="stylesheet" />
    <link href="css/frame_skin1.css" rel="stylesheet" />
    <link href="../plugIn/css/UtryJsLib.all.min.css" rel="stylesheet" />
    <link href="../plugIn/jquery-ui/jquery-ui.css" rel="stylesheet" />
    <script src="../Scripts/jquery-1.8.2.min.js"></script>
    <!--[if IE 6]>
    <script src="js/DD_belatedPNG.js" type="text/javascript" ></script>
    <script> DD_belatedPNG.fix('div, ul, img, li, input ,logo,slideContainer, a');</script>
    <![endif]-->

</head>
<body>
    <div class="header">
        <img src="img/logo.png" class="logo float_l" />
        <div class="float_r menus_r">
            <div class="head_menus head_menus_sa" href="javascript:">
                <img src="img/user.png" /><span id="userlogin_info"></span>
            </div>
            <div class="head_menus">
                <img src="img/quick_menu.png" /><span>快捷</span>
                <div class="detailed hide">
                    <ul class="q_menu_ul" id="menumore">
                        
                    </ul>
                    <p class="more_q_menu"><a class="short_icon" id="btncustom">更多</a></p>
                </div>
            </div>

            <div id="message_div" class="head_menus head_menus_sa">
                <img src="img/news.png" /><span>通知</span><a href="javascript:" id="noticesNum" class="notices"></a>
                <div class="detailed hide" id="messagebox">
                    <div fm-body=fm-body class="notice_con">
                        <a class="notice showmsg" data-id="{{messageID}}" href="javascript:" fm-conver="cutcontent">{{title}}</a>
                    </div>
                    <p class="more_q_menu"><a id="morenotice" class="short_icon">更多</a></p>
                </div>
            </div>
            <div class="head_menus">
                <img src="img/skin.png" /><span>换肤</span>
                <!-- <div class="detailed detailed_s hide">
                  <a href="javascript:" id="frame_skin1" class="skins skin1"><img src="img/check_yes.png" class="yes_no show"></a>
                  <a href="javascript:" id="frame_skin2" class="skins skin2"><img src="img/check_yes.png" class="yes_no hide"></a>
                  <a href="javascript:" id="frame_skin3" class="skins skin3"><img src="img/check_yes.png" class="yes_no hide"></a>
                </div> -->
            </div>
            <div class="head_menus">
                <img src="img/logout.png" /><span id="btnloginout">退出</span>
            </div>
        </div>
        <div >
            <span id="span_config_search" style="display:none;" class="search float_r dropdown"><input type="text" id="div_autoc" /></span>
        </div>
    </div>

    <div class="frame_main">
        <div class="menus float_l">
            <ul class="menus_ul" id="menus_ul">
                
            </ul>
            <div class="pre_next hide">
                <span class="next"><a href="#">向上</a></span><span class="pre"><a href="#">向下</a></span>
            </div>
        </div>

        <div class="main_tab float_l">
            <div class="nav_main" style="float:left; position:relative;">
                <ul id="ul_menu" class="nav_tab">
                    <li class="home_menu click" id="li_menu_home" data-menuid="home">
                        <a class="t_style">首页</a>
                    </li>
                </ul>
                <ul class="links">
                    <li class="slid">
                        <a href="javascript:" class="showMenu"><img style="padding:11px 10px;border-right:1px solid #c8d7eb;" src="img/right_bg.gif" /></a>
                        <ul class="links1" style="display:none;">
                            <li class="closeA"><a href="javascript:">关闭全部</a></li>
                            <li class="refresh"><a href="javascript:">刷新当前</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>

        <div id="frame_list" class="pages float_l">
            <div id='div_iframe_home' style='height:100%'>
                <iframe id="frame_home" data-menuid="home" name="frame" src="" frameborder="0" width="100%" height="100%"></iframe>
            </div>
        </div>
    </div>
    <div class="win_bg" id="basic-modal_frame1" style='display:none;z-index:9999;'></div>
    <div class="win_bg" id="basic-modal_frame2" style='display:none; z-index: 9999;'></div>
    <div id='basic-modal-content' style='display:none;'></div>
    <div id='message-basic-modal-content' style='display:none;'></div>
    <div id="msgshow-modal-content" style='display:none;'></div>
    <div style="clear:both"></div>
    <script src="../plugIn/js/UtryJsLib.all.min.js"></script>
    <script src="../plugIn/jquery-ui/jquery-ui.all.min.js"></script>
    <script src="js/mainframe.js"></script>
    <script>
        $.frame({
            requestUrl: "/data/frame.aspx",
            editCustomMenuUrl: "/pcs/activeMenu/edit.do?jsonpCallback=?",
            ucenterUrl: "/pcs/staff/main.do",
            newMsgUrl: "/data/msglist.aspx",
            msgDetailUrl: "data/msg.aspx",// /pcs/msg/getMsgInfo.do?jsonpCallback=?msgID
            delMsgUrl: "/pcs/msg/delMsg.do?jsonpCallback=?",
            tagMsgUrl: "/pcs/msg/wdMsg.do?jsonpCallback=?"
        });
        /**
        * 消息列表截取标题
        */
        function cutcontent(str) {
            return str.substring(0, 50) + "...";//消息列表中显示的字数
        }
    </script>
</body>
</html>
<script type="text/template" id="menutemplatex">
    <li class="menu3 menus_li">
        <span class="change_bg" id="span_left_menu_{{menuId}}">
            <img class="bg_li" src="{{icon}}" />
            <img class="sub_menu" src="img/sub_menu.png" />
            <a data-menuid="{{menuId}}" href="javascript:">{{menuName}}</a>
            <ul class="hide">
                {{body}}
            </ul>
        </span>
    </li>
</script>
<script type="text/template" id="menutemplatec">
    <li ><a class="menu_goto_frame" data-menuid="{{menuId}}" data-parentid="{{parentId}}"  data-menuname="{{menuName}}" data-href="{{url}}" target="frame">{{menuName}}</a></li>
</script>
<script type="text/template" id="messagetemplate">
    <div id="message_box" style="width:621px;height:400px;">
        <div class="win_text">
            <h1 class="title2">{{title}}</h1>
            <p class="mt6">来源:<span class="ml6">{{sendName}}</span><span class=" ml20">时间:</span><span class="ml6">{{sendDateStr}}</span></p>
            <div style="text-align:left;text-indent: 2em;">
                {{content}}
            </div>
        </div>
    </div>
</script>
<script type="text/template" id="customTemplate">
    <div class="win_text" style="width:386px; height:295px;">
        <div class="win_conTab" style="overflow:hidden;">
            <div class="win_leftTb">
                <div id="div_tree_box" style="padding-top:10px;"></div>
            </div>
            <div class="moveBg">
                <a href="javascript:" id="customtoright"><img src="img/move_bg.png" /></a>
            </div>
            <div class="win_leftTb">
                <table id="tablecustom" class="tabTable">
                    <tbody fm-body=fm-body>
                        <tr>
                            <td width="80%">{{menuName}}</td>
                            <td id='tr_cu_{{menuId}}' width="20%"><a href="javascript:" class="customadel" data-id="{{menuId}}" style="color:#f00;">X</a></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</script>